package com.huawei.hotel.service;

import com.huawei.hotel.vo.User;

public interface UserService {
    //通过账户和密码查询用户
    public User findUser(String useracount, String password);

    //用户注册功能
    public int register(User user);

    //    public int register(String useracount,String password,String userrole,String userpower,String username,String age,String phone,String address,String city);
    //修改用户信息
    public int updateUser(User user);

    // 通过id查询客户
    public User getCustomerById(int id);
}
